package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 用户评论
 * </p>
 *
 * @author stylefeng
 * @since 2019-09-09
 */
@TableName("biz_consumer_comment")
public class ConsumerComment extends Model<ConsumerComment> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 评论时间
     */
    private Date createTime;
    /**
     * 评论内容
     */
    private String contant;
    /**
     * 评分
     */
    private Double grade;
    /**
     * 客户id
     */
    private Integer consumerId;
    /**
     * 技师id
     */
    private Integer artificerId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContant() {
        return contant;
    }

    public void setContant(String contant) {
        this.contant = contant;
    }

    public Double getGrade() {
        return grade;
    }

    public void setGrade(Double grade) {
        this.grade = grade;
    }

    public Integer getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Integer consumerId) {
        this.consumerId = consumerId;
    }

    public Integer getArtificerId() {
        return artificerId;
    }

    public void setArtificerId(Integer artificerId) {
        this.artificerId = artificerId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ConsumerComment{" +
        "id=" + id +
        ", createTime=" + createTime +
        ", contant=" + contant +
        ", grade=" + grade +
        ", consumerId=" + consumerId +
        ", artificerId=" + artificerId +
        "}";
    }
}
